package com.game.centerserver.infrastructure.entity;

import java.io.Serializable;

/**
 * (DstServerIni)实体类
 *
 * @author makejava
 * @since 2024-11-10 17:16:22
 */
public class DstServerIni implements Serializable {
    private static final long serialVersionUID = -32758812777461041L;
    
    private Integer id;

    private String archiveId;
    
    private String name;
    
    private Integer isMaster;
    
    private Integer authenticationPort;
    
    private Integer masterServerPort;
    
    private Integer serverPort;

    private Integer encodeUserPath;

    public Integer getEncodeUserPath() {
        return encodeUserPath;
    }

    public void setEncodeUserPathBool(boolean encodeUserPath) {
        this.encodeUserPath = encodeUserPath? 1 : 0;
    }

    public void setEncodeUserPath(Integer encodeUserPath) {
        this.encodeUserPath = encodeUserPath;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getArchiveId() {
        return archiveId;
    }

    public void setArchiveId(String archiveId) {
        this.archiveId = archiveId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIsMaster() {
        return isMaster;
    }

    public boolean isMaster() {
        return isMaster==1;
    }

    public void setIsMaster(Integer isMaster) {
        this.isMaster = isMaster;
    }

    public Integer getAuthenticationPort() {
        return authenticationPort;
    }

    public void setAuthenticationPort(Integer authenticationPort) {
        this.authenticationPort = authenticationPort;
    }

    public Integer getMasterServerPort() {
        return masterServerPort;
    }

    public void setMasterServerPort(Integer masterServerPort) {
        this.masterServerPort = masterServerPort;
    }

    public Integer getServerPort() {
        return serverPort;
    }

    public void setServerPort(Integer serverPort) {
        this.serverPort = serverPort;
    }

}

